from crop_wav.show_relate_function import *

class ShowParams:
    def __init__(self):
        self.sonicFreq = 20000
        self.lipOffset = 40
        self.nfft = 32768
        self.frameTime = 0.10
        self.aheadTime = 0.01
        self.isGetRange = True
        self.vocabPath = 'vocab/word_mod50.txt'
        self.lenDictPath = 'crop_length.dp'
        self.cropMsgPath = 'time_mark.dp'

params = ShowParams()

dirPath = '/home/Dataset/all_ultra_data/1/20k_3cm_0d'
# dirPath = 'F:/dataset/all_ultra_data/1/20k_3cm_0d'
multiObj = MultiWavShower(dirPath, params)
multiObj.getFinalCropMsg()